WordDocumentReplace(String, String, ReplaceIn) Method
Replaces all occurrences of a specified oldText with newText.
Namespace: Independentsoft.Office.WordAssembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
public void Replace(
string oldText,
string newText,
ReplaceIn replaceIn
)
Public Sub Replace (
oldText As String,
newText As String,
replaceIn As ReplaceIn
)
Parameters
- oldText String
- The string to replace.
- newText String
- The string that replaces oldText.
- replaceIn ReplaceIn
- Replace scope.